package com.sta.staff.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Salary {
    @TableId
    private Integer sid;
    private double basicSalary;
    private double overSalary;
    private double subsidy;
    private double prize;
    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    private String time;
    @TableField(exist = false)
    private Users users;
}
